package cn.yunhe.model;

import org.springframework.stereotype.Component;

@Component
public class CarModel {

	private int tid;
	private String towner;
	private String tdriver;
	private String tweight;
	private String tcard;
	private int id;
	
	public CarModel() {
	}
	public CarModel(int tid, String towner, String tdriver, String tweight, String tcard, int id) {
		this.tid = tid;
		this.towner = towner;
		this.tdriver = tdriver;
		this.tweight = tweight;
		this.tcard = tcard;
		this.id = id;
	}
	public int getTid() {
		return tid;
	}
	public void setTid(int tid) {
		this.tid = tid;
	}
	public String getTowner() {
		return towner;
	}
	public void setTowner(String towner) {
		this.towner = towner;
	}
	public String getTdriver() {
		return tdriver;
	}
	public void setTdriver(String tdriver) {
		this.tdriver = tdriver;
	}
	public String getTweight() {
		return tweight;
	}
	public void setTweight(String tweight) {
		this.tweight = tweight;
	}
	public String getTcard() {
		return tcard;
	}
	public void setTcard(String tcard) {
		this.tcard = tcard;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	
	
}
